import request from '/@/utils/request';

export const getImageCaptcha = (data: any) => {
    return request({
        url: 'admin/captcha/img',
        method: 'get',
        data
    })
}


export const loginSvr = (data: any) => {
    return request({
        url: 'admin/11/2',
        method: 'post',
        data
    })
}

export const login = (data: any) => {
    return request({
        url: 'admin/login',
        method: 'post',
        data
    })
}